<!DOCTYPE html>
<html lang="en">

<head>
    <!-- #include file="com/link.asp" -->
</head>

<body>
    <!-- #include file="com/header.asp" -->

    <div class="login">
        <div class="mainBox">
            <div class="loginMain">
                <h5>欢迎登录</h5>
                <div class="form layui-form">
                    <div class="inp">
                        <input type="text" name="title" required lay-verify="required" placeholder="请输入邮箱地址/手机号"
                            autocomplete="off" class="layui-input">
                        <img src="./images/icon1.png" alt="">
                    </div>
                    <div class="inp">
                        <input type="password" name="title" required lay-verify="required" placeholder="请输入您的密码"
                            autocomplete="off" class="layui-input">
                        <img src="./images/icon2.png" alt="">
                    </div>
                    <div class="flexs flexsBet check">
                        <input type="checkbox" class="size" name="" title="记住我" lay-skin="primary">
                        <a class="not" href="">忘记密码</a>
                    </div>
                    <button class="layui-btn-radius submit" lay-submit lay-filter="formDemo">登陆</button>
                </div>

                <div class="qLogin">
                    <div class="title">
                        <h6>其他方式登陆</h6>
                    </div>
                    <ul class="flexs">
                        <li>
                            <img src="./images/icon3.png" alt="">
                            <p>QQ登录</p>
                        </li>
                        <li>
                            <img src="./images/icon4.png" alt="">
                            <p>微信登录</p>
                        </li>
                    </ul>
                </div>

                <div class="right">
                    <a href="register.asp">没有账号，立即注册</a>
                </div>
            </div>
        </div>
    </div>
</body>
<script>
    layui.use('form', function () {
        var form = layui.form;
        //监听提交
        form.on('submit(formDemo)', function (data) {
            console.log(data)
            window.location.href = '/member/questionnaire.asp'
        });
    });
</script>

</html>